export const TokenCenterABI=[
    {
        "inputs": [],
        "stateMutability": "nonpayable",
        "type": "constructor"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "exchange",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "token",
                "type": "address"
            }
        ],
        "name": "ExchangeLaunch",
        "type": "event"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "initialSupply",
                "type": "uint256"
            },
            {
                "internalType": "string",
                "name": "tokenName",
                "type": "string"
            },
            {
                "internalType": "string",
                "name": "tokenSymbol",
                "type": "string"
            }
        ],
        "name": "burnToken",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "initialSupply",
                "type": "uint256"
            },
            {
                "internalType": "string",
                "name": "tokenName",
                "type": "string"
            },
            {
                "internalType": "string",
                "name": "tokenSymbol",
                "type": "string"
            }
        ],
        "name": "createToken",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "createrToken",
        "outputs": [
            {
                "internalType": "address payable",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "_exchange",
                "type": "address"
            }
        ],
        "name": "exchangeToTokenLookup",
        "outputs": [
            {
                "internalType": "address",
                "name": "token",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getExchangeCount",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "exchangeCount",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getTokenListInfo",
        "outputs": [
            {
                "internalType": "address[]",
                "name": "",
                "type": "address[]"
            },
            {
                "internalType": "string[]",
                "name": "",
                "type": "string[]"
            },
            {
                "internalType": "string[]",
                "name": "",
                "type": "string[]"
            },
            {
                "internalType": "uint256[]",
                "name": "",
                "type": "uint256[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getTokenSymbol",
        "outputs": [
            {
                "internalType": "string[]",
                "name": "",
                "type": "string[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "_token",
                "type": "address"
            }
        ],
        "name": "launchExchange",
        "outputs": [
            {
                "internalType": "address",
                "name": "exchange",
                "type": "address"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "leagueAddress",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "string",
                "name": "",
                "type": "string"
            }
        ],
        "name": "tokenForExchange",
        "outputs": [
            {
                "internalType": "address payable",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "tokenInfos",
        "outputs": [
            {
                "internalType": "address",
                "name": "tokenAddress",
                "type": "address"
            },
            {
                "internalType": "string",
                "name": "name",
                "type": "string"
            },
            {
                "internalType": "string",
                "name": "symbol",
                "type": "string"
            },
            {
                "internalType": "uint256",
                "name": "totalSupply",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "tokenInfosList",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "tokenList",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "_token",
                "type": "address"
            }
        ],
        "name": "tokenToExchangeLookup",
        "outputs": [
            {
                "internalType": "address payable",
                "name": "exchange",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    }
]
export const TokenCenterAddress = '0xC5F15b81B2E7149C5359FdbF85A82FB75a57D403'
export const ExchangeABI =[
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "_tokenAddress",
                "type": "address"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "constructor"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "liquidityProvider",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "uint256",
                "name": "sharesBurned",
                "type": "uint256"
            }
        ],
        "name": "Divestment",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "buyer",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "uint256",
                "name": "ethIn",
                "type": "uint256"
            },
            {
                "indexed": true,
                "internalType": "uint256",
                "name": "tokensOut",
                "type": "uint256"
            }
        ],
        "name": "EthToTokenPurchase",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "liquidityProvider",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "uint256",
                "name": "sharesPurchased",
                "type": "uint256"
            }
        ],
        "name": "Investment",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "buyer",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "uint256",
                "name": "tokensIn",
                "type": "uint256"
            },
            {
                "indexed": true,
                "internalType": "uint256",
                "name": "ethOut",
                "type": "uint256"
            }
        ],
        "name": "TokenToEthPurchase",
        "type": "event"
    },
    {
        "inputs": [],
        "name": "FEE_RATE",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_sharesBurned",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_minEth",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_minTokens",
                "type": "uint256"
            }
        ],
        "name": "divestLiquidity",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "ethPool",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_minTokens",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_timeout",
                "type": "uint256"
            },
            {
                "internalType": "address",
                "name": "_recipient",
                "type": "address"
            }
        ],
        "name": "ethToTokenPayment",
        "outputs": [],
        "stateMutability": "payable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_minTokens",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_timeout",
                "type": "uint256"
            }
        ],
        "name": "ethToTokenSwap",
        "outputs": [],
        "stateMutability": "payable",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "factoryAddress",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "_provider",
                "type": "address"
            }
        ],
        "name": "getShares",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "_shares",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getTokenInfo",
        "outputs": [
            {
                "internalType": "bytes32[]",
                "name": "",
                "type": "bytes32[]"
            },
            {
                "internalType": "uint256[]",
                "name": "",
                "type": "uint256[]"
            },
            {
                "internalType": "address[]",
                "name": "",
                "type": "address[]"
            },
            {
                "internalType": "uint8[]",
                "name": "",
                "type": "uint8[]"
            },
            {
                "internalType": "uint256[]",
                "name": "",
                "type": "uint256[]"
            },
            {
                "internalType": "uint256[]",
                "name": "",
                "type": "uint256[]"
            },
            {
                "internalType": "uint256[]",
                "name": "",
                "type": "uint256[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getTokenPrice",
        "outputs": [
            {
                "internalType": "uint256[]",
                "name": "",
                "type": "uint256[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_tokenAmount",
                "type": "uint256"
            }
        ],
        "name": "initializeExchange",
        "outputs": [],
        "stateMutability": "payable",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "invariant",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_minShares",
                "type": "uint256"
            }
        ],
        "name": "investLiquidity",
        "outputs": [],
        "stateMutability": "payable",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "leagueAddress",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "tokenAddress",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "tokenFee",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "_fee",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "bytes32",
                "name": "",
                "type": "bytes32"
            }
        ],
        "name": "tokenInfos",
        "outputs": [
            {
                "internalType": "bytes32",
                "name": "transactionID",
                "type": "bytes32"
            },
            {
                "internalType": "uint256",
                "name": "blockNumberIndex",
                "type": "uint256"
            },
            {
                "internalType": "address",
                "name": "recipientAddress",
                "type": "address"
            },
            {
                "internalType": "uint8",
                "name": "transactionType",
                "type": "uint8"
            },
            {
                "internalType": "uint256",
                "name": "statusTime",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "outPutToken",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "inPutEth",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "inPutToken",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "outPutEth",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "tokenInfosAddress",
        "outputs": [
            {
                "internalType": "bytes32",
                "name": "",
                "type": "bytes32"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "tokenPool",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "tokenPrice",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_tokenAmount",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_minEth",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_timeout",
                "type": "uint256"
            },
            {
                "internalType": "address payable",
                "name": "_recipient",
                "type": "address"
            }
        ],
        "name": "tokenToEthPayment",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_tokenAmount",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_minEth",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_timeout",
                "type": "uint256"
            }
        ],
        "name": "tokenToEthSwap",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "_recipient",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "_minTokens",
                "type": "uint256"
            }
        ],
        "name": "tokenToTokenIn",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "payable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "_tokenPurchased",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "_recipient",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "_tokensSold",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_minTokensReceived",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_timeout",
                "type": "uint256"
            }
        ],
        "name": "tokenToTokenPayment",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "_tokenPurchased",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "_tokensSold",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_minTokensReceived",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_timeout",
                "type": "uint256"
            }
        ],
        "name": "tokenToTokenSwap",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "totalShares",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "stateMutability": "payable",
        "type": "receive"
    }
]
export const LeagueABI=[
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "string",
                "name": "eventType",
                "type": "string"
            },
            {
                "indexed": false,
                "internalType": "bytes32",
                "name": "_proposalId",
                "type": "bytes32"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "_limitTime",
                "type": "uint256"
            }
        ],
        "name": "ProposeEvt",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "string",
                "name": "eventType",
                "type": "string"
            },
            {
                "indexed": false,
                "internalType": "address",
                "name": "_voter",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "timestamp",
                "type": "uint256"
            }
        ],
        "name": "VoteEvt",
        "type": "event"
    },
    {
        "inputs": [
            {
                "internalType": "string",
                "name": "_name",
                "type": "string"
            },
            {
                "internalType": "string",
                "name": "_contact",
                "type": "string"
            }
        ],
        "name": "applyLeague",
        "outputs": [
            {
                "internalType": "bytes32",
                "name": "",
                "type": "bytes32"
            }
        ],
        "stateMutability": "payable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "bytes32[]",
                "name": "_transfer_hashID_list",
                "type": "bytes32[]"
            }
        ],
        "name": "autoDel",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "autoReady",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "payable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "carbonInfo",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "createToken",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "destoryToken",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "buyToken",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "carbonInfos",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "createToken",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "destoryToken",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "buyToken",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "confirmationsRatio",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "bytes32",
                "name": "_transfer_hashID",
                "type": "bytes32"
            }
        ],
        "name": "delVoteListIndex",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getAllMembersInfo",
        "outputs": [
            {
                "components": [
                    {
                        "internalType": "address",
                        "name": "memberInfoAddress",
                        "type": "address"
                    },
                    {
                        "internalType": "string",
                        "name": "memberInfoName",
                        "type": "string"
                    },
                    {
                        "internalType": "uint256",
                        "name": "memberInfoTime",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "createToken",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "burnToken",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "buyToken",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "CEL",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "EL",
                        "type": "uint256"
                    }
                ],
                "internalType": "struct MemberBasic.MemberTempInfo[]",
                "name": "",
                "type": "tuple[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getCarbonToken",
        "outputs": [
            {
                "components": [
                    {
                        "internalType": "uint256",
                        "name": "createToken",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "destoryToken",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "buyToken",
                        "type": "uint256"
                    }
                ],
                "internalType": "struct cost.CarbonInfo[]",
                "name": "",
                "type": "tuple[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getCarbonTokenLast",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "_createToken",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_destoryToken",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_buyToken",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getConsistMember",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "_total",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_leagueCommittee",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_leagueManager",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_leagueMembers",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_superviseMembers",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getCreditTotal",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            },
            {
                "internalType": "uint256[]",
                "name": "",
                "type": "uint256[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getLeagueTotalPeople",
        "outputs": [
            {
                "components": [
                    {
                        "internalType": "uint256",
                        "name": "updateTime",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "leagueTotalPeople",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "leagueCommitteePeople",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "leagueManagerPeople",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "leagueMembersPeople",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "superviseMembersPeople",
                        "type": "uint256"
                    }
                ],
                "internalType": "struct MemberBasic.MemberConsistInfo[]",
                "name": "",
                "type": "tuple[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getLeagueTotalPeopleLast",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "_totalPeople",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_leagueCommitteePeople",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_leagueManagerPeople",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_leagueMembersPeople",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_superviseMembersPeople",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "_add",
                "type": "address"
            }
        ],
        "name": "getMemberInfo",
        "outputs": [
            {
                "internalType": "address",
                "name": "_memberInfoAddress",
                "type": "address"
            },
            {
                "internalType": "string",
                "name": "_memberInfoName",
                "type": "string"
            },
            {
                "internalType": "uint256",
                "name": "_memberInfoTime",
                "type": "uint256"
            },
            {
                "internalType": "uint256[]",
                "name": "_createToken",
                "type": "uint256[]"
            },
            {
                "internalType": "uint256[]",
                "name": "_burnToken",
                "type": "uint256[]"
            },
            {
                "internalType": "uint256[]",
                "name": "_buyToken",
                "type": "uint256[]"
            },
            {
                "internalType": "uint256[]",
                "name": "_CEL",
                "type": "uint256[]"
            },
            {
                "internalType": "uint256[]",
                "name": "_EL",
                "type": "uint256[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_type",
                "type": "uint256"
            }
        ],
        "name": "getProposalsForWorkingInfo",
        "outputs": [
            {
                "components": [
                    {
                        "internalType": "bytes32",
                        "name": "ptransfer_hashID",
                        "type": "bytes32"
                    },
                    {
                        "internalType": "string",
                        "name": "pName",
                        "type": "string"
                    },
                    {
                        "internalType": "address",
                        "name": "chairperson",
                        "type": "address"
                    },
                    {
                        "internalType": "string",
                        "name": "contact",
                        "type": "string"
                    },
                    {
                        "internalType": "uint256",
                        "name": "pData",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "pCost",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "voteRatio",
                        "type": "uint256"
                    },
                    {
                        "internalType": "bool",
                        "name": "initialized",
                        "type": "bool"
                    },
                    {
                        "internalType": "bool",
                        "name": "executed",
                        "type": "bool"
                    },
                    {
                        "internalType": "uint256",
                        "name": "executedData",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "limitTime",
                        "type": "uint256"
                    },
                    {
                        "internalType": "string",
                        "name": "transactionStatus",
                        "type": "string"
                    },
                    {
                        "internalType": "uint256",
                        "name": "transactionTokenTotal",
                        "type": "uint256"
                    }
                ],
                "internalType": "struct ApplicationBlank.Proposal[]",
                "name": "",
                "type": "tuple[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "leagueCommittee",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "leagueCommitteePower",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "leagueManager",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "leagueManagerPower",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "leagueMembers",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "leagueMembersPower",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "limitTimeInit",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "bytes32",
                "name": "",
                "type": "bytes32"
            },
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "memberConfirmationsRatio",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "memberConsistInfo",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "updateTime",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "leagueTotalPeople",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "leagueCommitteePeople",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "leagueManagerPeople",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "leagueMembersPeople",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "superviseMembersPeople",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "memberConsistInfos",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "updateTime",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "leagueTotalPeople",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "leagueCommitteePeople",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "leagueManagerPeople",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "leagueMembersPeople",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "superviseMembersPeople",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "memberInfo",
        "outputs": [
            {
                "internalType": "address",
                "name": "memberInfoAddress",
                "type": "address"
            },
            {
                "internalType": "string",
                "name": "memberInfoName",
                "type": "string"
            },
            {
                "internalType": "uint256",
                "name": "memberInfoTime",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "bytes32",
                "name": "_transfer_hashID",
                "type": "bytes32"
            }
        ],
        "name": "membersVoting",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "bytes32",
                "name": "",
                "type": "bytes32"
            }
        ],
        "name": "proposals",
        "outputs": [
            {
                "internalType": "bytes32",
                "name": "ptransfer_hashID",
                "type": "bytes32"
            },
            {
                "internalType": "string",
                "name": "pName",
                "type": "string"
            },
            {
                "internalType": "address",
                "name": "chairperson",
                "type": "address"
            },
            {
                "internalType": "string",
                "name": "contact",
                "type": "string"
            },
            {
                "internalType": "uint256",
                "name": "pData",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "pCost",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "voteRatio",
                "type": "uint256"
            },
            {
                "internalType": "bool",
                "name": "initialized",
                "type": "bool"
            },
            {
                "internalType": "bool",
                "name": "executed",
                "type": "bool"
            },
            {
                "internalType": "uint256",
                "name": "executedData",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "limitTime",
                "type": "uint256"
            },
            {
                "internalType": "string",
                "name": "transactionStatus",
                "type": "string"
            },
            {
                "internalType": "uint256",
                "name": "transactionTokenTotal",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "proposalsForWorkingList",
        "outputs": [
            {
                "internalType": "bytes32",
                "name": "",
                "type": "bytes32"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "proposalsInfoList",
        "outputs": [
            {
                "internalType": "bytes32",
                "name": "ptransfer_hashID",
                "type": "bytes32"
            },
            {
                "internalType": "string",
                "name": "pName",
                "type": "string"
            },
            {
                "internalType": "address",
                "name": "chairperson",
                "type": "address"
            },
            {
                "internalType": "string",
                "name": "contact",
                "type": "string"
            },
            {
                "internalType": "uint256",
                "name": "pData",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "pCost",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "voteRatio",
                "type": "uint256"
            },
            {
                "internalType": "bool",
                "name": "initialized",
                "type": "bool"
            },
            {
                "internalType": "bool",
                "name": "executed",
                "type": "bool"
            },
            {
                "internalType": "uint256",
                "name": "executedData",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "limitTime",
                "type": "uint256"
            },
            {
                "internalType": "string",
                "name": "transactionStatus",
                "type": "string"
            },
            {
                "internalType": "uint256",
                "name": "transactionTokenTotal",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "proposalsList",
        "outputs": [
            {
                "internalType": "bytes32",
                "name": "",
                "type": "bytes32"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "bytes32",
                "name": "_transfer_hashID",
                "type": "bytes32"
            }
        ],
        "name": "queryVoteListIndex",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "_index",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address[]",
                "name": "_list",
                "type": "address[]"
            },
            {
                "internalType": "string[]",
                "name": "_name",
                "type": "string[]"
            }
        ],
        "name": "setCommittee",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_ratio",
                "type": "uint256"
            }
        ],
        "name": "setExecuteRatio",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "_manager",
                "type": "address"
            },
            {
                "internalType": "string",
                "name": "_name",
                "type": "string"
            }
        ],
        "name": "setManager",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            },
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_time",
                "type": "uint256"
            }
        ],
        "name": "setTimeLimit",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "superviseMembers",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "_msg",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "_add",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_burn",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_buy",
                "type": "uint256"
            }
        ],
        "name": "updateMembersInfo",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "stateMutability": "payable",
        "type": "receive"
    }
]
export const ERC20ABI = [
    {
        "inputs": [
            {
                "internalType": "string",
                "name": "name_",
                "type": "string"
            },
            {
                "internalType": "string",
                "name": "symbol_",
                "type": "string"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "constructor"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "owner",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "spender",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "value",
                "type": "uint256"
            }
        ],
        "name": "Approval",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "from",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "to",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "value",
                "type": "uint256"
            }
        ],
        "name": "Transfer",
        "type": "event"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "owner",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "spender",
                "type": "address"
            }
        ],
        "name": "allowance",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "spender",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "amount",
                "type": "uint256"
            }
        ],
        "name": "approve",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "account",
                "type": "address"
            }
        ],
        "name": "balanceOf",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "decimals",
        "outputs": [
            {
                "internalType": "uint8",
                "name": "",
                "type": "uint8"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "spender",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "subtractedValue",
                "type": "uint256"
            }
        ],
        "name": "decreaseAllowance",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "spender",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "addedValue",
                "type": "uint256"
            }
        ],
        "name": "increaseAllowance",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "name",
        "outputs": [
            {
                "internalType": "string",
                "name": "",
                "type": "string"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "symbol",
        "outputs": [
            {
                "internalType": "string",
                "name": "",
                "type": "string"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "totalSupply",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "recipient",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "amount",
                "type": "uint256"
            }
        ],
        "name": "transfer",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "sender",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "recipient",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "amount",
                "type": "uint256"
            }
        ],
        "name": "transferFrom",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    }
]



